// 下半内容的背景颜色
$color:rgb(242,242,242);
.main{
    min-width: 1210px;
    margin: 0 auto;
    width: 1210px;
}
// 顶部内容
.topbox{
    background-color: #f1f1f1; 
    .box{
        height: 30px;
        display: flex;
        justify-content: space-between;
        font-size: 12px; 
    }
    .left{
        display: flex;
        align-items: center;
        a{
            color: #666;
        }
    }
    .right{
        display: flex;
        align-items: center;
        div{
            margin: 0 8px;
            a{
                color: #666;
                &:hover{
                    color: red;
                }
            }
        }
    }
}
// 搜索框内容开始
.searchbox{
    .box{
        height: 105px;
        display: flex;
        padding: 15px 0;
        box-sizing: border-box;
        .left{
            width: 330px;
            // border: 1px solid black;
            img{
                width: 162px;
                height: 60px;
                margin-left: 23px;
               
            }
        }
        .center{
            width: 635px;
            .inputbox{
                width: 635px;
                height: 65px;
                .boxt{
                    width: 490px;
                    height: 36px;
                    border: 2px solid red;
                    display: flex;
                    justify-content: space-between;
                    input[type="text"]{
                    width: 406px;
                    height: 26px;
                    padding: 5px;
                    outline: none;
                    border: 0;
                    }
                    input[type="button"]{
                        width: 79px;
                        height: 36px;
                        outline: none;
                        color: #FFF;
                        background-color: red;
                        border: 0;
                        }
                }
                .boxf{
                    margin-top: 4px;    
                    a{
                        color: #666;
                        &:nth-child(1)
                        {
                            color: #999 !important
                        }
                        &:hover{
                            color: red;
                        }
                    }
                }
            }
        }
        .right{
            flex: 1;
            // border: 1px solid black;
            margin-top: 5px;
            .buy{
                width: 113px;
                height: 31px;
                display: flex;
                align-items: center;
                border: 1px solid #efefef;
                justify-content: space-around;
                position: relative;
                div{
                    width: 61px;
                    height: 29px;
                    display: flex;
                    align-items: center;
                    a{
                        &:hover{
                            color:red;
                        }
                    }
                    em{
                        border-radius: 50%;
                        width: 15px;
                        height: 15px;
                        position: absolute;
                        left: 30px;
                        top: -6px;
                        font-style: normal;
                        font-weight: 600;
                        background-color: red;
                        color: #FFF;
                        text-align: center;
                    }
                }
            }
        }
    }
}
// banner 导航栏部分开始部分开始\
.navbox{
    .box{
        .boxt{
            height: 40px;
            // border: 1px solid black;
            display: flex;
            align-items: center;
            position: relative;
            ul{
                align-self: flex-start;
                z-index: 10;
                position: relative;
            }
            .sort{
                width: 210px;
                height: 40px;
                font-size: 16px;
                background-color: #e4393c;
                color:#fff;
                text-align: center;
                line-height: 40px;
                cursor: pointer;
                &:nth-child(n+2)
                {     
                    height: 65px;
                    display: flex;
                    // padding-right: 5px;
                    align-items:center;
                    background-color:rgba($color: #000000, $alpha: .5); 
                    .navcontent{
                        display: none;
                        position: absolute;
                        left: 210px;
                        top: 40px;
                        width: 700px;
                        height: 455px;
                        border: 1px solid red;
                        border-left: 0;
                        z-index: 10;
                        background-color: #FFF;
                        div{
                            height: 50px;
                            font-size: 14px;
                            line-height: 50px;
                            display: flex;
                            span{
                                color: #666;
                                font-size: 12px;
                                font-weight: 600;
                                margin-left: 20px;
                                margin-right: 10px;
                            }
                            .navctinfo{
                                flex: 1;
                                height: 50px;
                                display: flex;
                                flex-wrap: wrap;
                                color: #ccc;
                                li{
                                    float: left;
                                    a{
                                        font-size: 12px;
                                        padding:0 6px;
                                        &:hover{
                                            color: red;
                                        }
                                    }
                                }
                            }
                        }
                    }   
                    h3{
                        width: 185px;
                        font-size: 16px;
                        font-weight: 400;
                        a{
                            color: #FFF;
                        }
                    }
                    &:hover{
                        background-color: #FFF;
                        opacity: 1;
                        h3 a{
                            color: red;
                        }
                        .navcontent{
                            display: block;
                        }
                    }
                }
            }
            a{
                color: #333;
                font-size: 14px;
                &:nth-child(2)
                {
                    margin: 0 20px;
                    &:hover{
                        color:red;
                    }
                }
            }
        }
    }
}
// banner图部分开始
.bannerbox{
    width: 1519px;
    position: relative;
    height: 457px;
    overflow: hidden;
    ul:nth-child(1)
    {
        position: absolute;
        left: 0;
        width: 12000px;
        li{
            float: left;
            overflow: hidden;
        }
        img{
            width: 1920px;
            height: 457px;
            margin-left: -160px;
        }
    }
    
    ul:nth-child(2){
        position: absolute;
        left: 50%;
        bottom: 3px;
     
        li{
            float: left;
            font-size: 12px;
            border-radius: 50%;
            width: 15px;
            height: 15px;
            text-align: center;
            margin: 5px;
            background-color: black;
            color: #FFF;
            cursor: pointer;
            &:nth-child(1){
                background-color: #FFF;
                color: black;
            }
            &:hover{
                background-color: #FFF;
                color: #000;
            }
        }
    }
}

// 新品上市
.newgoods{
    background-color:rgb(242, 242, 242);
    padding-bottom: 20px;
    .goodsbox{
      background-color: #FFF;
      height:255px;
    //   border: 1px solid black;  
      margin-top: 40px;
      .boxt{
          display: flex;
          align-items: center;
          height: 45px;
          p{
              border-left: 5px solid #dd5352;
              padding-left: 15px;
              font-size: 18px;
              color: #dd5352;
          }
      }
      .goods{
          display: flex;
          justify-content: space-around;
          .good{
            //   border: 1px solid black;
              width: 241px;
              height: 201px;
              .goodt{
                  display: flex;
                 justify-content: center;
                img{
                    width: 120px;
                    height: 120px;
                    padding: 5px 0;
                    margin-top: 6px;
                    margin-bottom: 10px;
                }
              }
              .goodinfo{
                  box-sizing: border-box;
                  width: 241px;
                  height: 55px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  font-size: 16px;
                  padding:  0 12px;
                  a{
                      color: #666;
                      &:hover{
                          color:red;
                      }
                  }
                  .price{
                      margin-top: 15px;
                      text-align: center;
                      color: red;
                  }
              }
          }
      }
    }
}

// 图片列 部分（通用）
.imgline{
    background-color:rgb(242, 242, 242);
    padding-bottom: 20px;
    img{
        width: 1210px;
        height: 100px;
    }
}

// 超级电视部分开始 显示器 品质生活 智能家居 精选配件
.tv,.computer,.life,.home,.parts{
    background-color: $color;
    .tvbox{
       background-color: #FFF;
        .bxtop{
        height: 36px;
        // border: 1px solid black;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom:2px solid #5e92f2 ;
        .tpleft{
            display: flex;
            height: 26px;
            border-left: 4px solid #5e92f2;
            font-size: 20px;
            line-height: 26px;
            span{
                padding: 0 38px 0 10px;
            }
            ul li{
                list-style: none;
                float: left;
                height: 15px;
                line-height: 26px;
                margin-right: 20px;
                font-size: 14px;
                a{
                    color: #666;
                    &:hover{
                        color:#dd5352
                    }
                }
            }
        }
        .tpright{
            font-size: 14px;
            margin-right: 10px;
            a{
                &:hover{
                    color: #dd5352;
                }
            }
            i{
                cursor: pointer;
            }
        }
        }
        .bxbottom{
            display: flex;
            height: 489px;
            .bleft{
                width: 200px;
                height: 470px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .bright{
                ul li{   
                    border-right: 1px solid #ededed;
                    border-bottom: 1px solid #ededed;
                    float: left;
                    padding: 10px;
                    box-sizing: border-box;
                    width: 202px;
                    height: 243px;
                    display: flex;
                    justify-content: center;
                    flex-wrap: wrap;
                    &:nth-child(5n)
                    {
                        border-right: 0;
                    }
                    img{
                        width: 140px;
                        height: 140px;
                        padding: 5px 0;
                        margin: 10px 0;
                    }
                    a{
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                        font-size: 12px;
                        color: #666;
                        margin-bottom: 8px;
                        &:hover{
                            color: red;
                        }
                    }
                    span{
                       width: 201px;
                       color: red;
                    }
                }
            }
        }
    }
}
// computer部分开始
.computer{
    padding-bottom: 20px;
    background-color: $color;
    .tvbox{
        .bxtop{
            border-bottom: 2px solid #8960f1;
            .tpleft{
                border-left-color: #8960f1;
            }
        }
        .bxbottom{
            height: 470px;
        }
    }
}
// 品质生活部分开始
.life{
    .tvbox{
        .bxtop{
            border-bottom: 2px solid #fdb84a;
            .tpleft{
                border-left-color: #fdb84a;
            }
        }
    }
}
// 智能正品服务部分开始
.service{
    height: 54px;
    background-color: $color;
    // border: 1px solid black;
    padding: 20px 0 34px;
    img{
        float: left;
        width: 302.5px;
        height: 54px;
    }
}
//底部内容开始
.footer{
    background-color: $color;
    .footbox{
        .fttop{
            display: flex;
            justify-content: space-around;
            height: 147px;
            dl{
                dt{
                    width: 206px;
                    font-size: 16px;
                    line-height: 20px;
                    height: 20px;
                    padding: 10px 5px;
                    color: #666;
                    border-bottom: 1px solid #e6e6e6;
                    margin: 5px 0;
                }
                dd{
                    ul li{
                        list-style: square;
                        list-style-position: inside;
                        font-size: 12px;
                        padding: 2px 5px;
                        a{
                            color:#666;
                        }
                    }
                }
            }
        }
        .ftbottom{
            padding: 20px 0;
            color: #666;
            p{
                display: flex;
                justify-content: center;
                img{
                    width: 20px;
                    height: 20px;
                }
                a{
                    color: #666;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
           
        }
    }
}